#ifndef _MYTHREAD_
#define _MYTHREAD_
#include <QMutex>
#include <QSize>
#include <QThread>
#include <QWaitCondition>
#include <QTime>
#include "cmysig.h"
//class MCsyThread;
class MyThread: public QThread
{
    Q_OBJECT
public:
    MyThread(QObject *parent = 0);
    ~MyThread();
    //void mysetParent(MCsyThread *vparent);
public slots:
    void stopProcess();
signals:
    void dataArrive(const QList<double> &l);
    void dataAllFinish(CMySig *l);
protected:
    void run();
private:
    //MCsyThread *parent;
    QElapsedTimer miaobiao;
    bool m_abort;
    QMutex tmutex;
    CMySig  sig1;
};
#endif

